Search
Utils.RadialGradient Method (RectangleF, Object[])
See Also
 






Creates a path gradient brush with the specified blend and bounds.

Namespace: MindFusion.Gauges
Assembly: MindFusion.Gauges

 Syntax

C#  Copy Code

public static PathGradientBrush RadialGradient (
    RectangleF bounds,
    Object[] positionsAndColors
)

Visual Basic  Copy Code

Public Shared Function RadialGradient ( _
    bounds As RectangleF, _
    positionsAndColors() As Object _
) As PathGradientBrush

 Parameters

bounds
The bounding rectangle of the path gradient.
positionsAndColors
An alternating sequence of float and Color pairs where each pair defines a gradient stop. The positions in the sequence need to be in ascending order.

 Return Value

An instance of the PathGradientBrush class corresponding to the specified settings.

 See Also